module.exports = (req,res,neth)=>{
	// if(req.url!='/user/login' && !req.headers.token){
	// 	return res.send({
	// 		code:0,
	// 		msg:'请先登录',
	// 		data:[]
	// 	})
	// }
	if(req.method=='GET' && req.query.search){
		req.query.search=JSON.parse(req.query.search)
	}
	console.log(req.url,req.body,req.query)
	res.sendform=(code=200,msg='success',data=[])=>{
		res.send({
			code,
			msg,
			data
		})
	}
	neth()
}